package com.yunao.commons.serachcore.core.bean;

import java.io.Serializable;

public class Wordcloud implements Serializable {

	private static final long serialVersionUID = 1L;

	private String key;
	private int docnum;
	private double idf;
	private int mark;

	public Wordcloud() {

	}

	public Wordcloud(String key, int docnum) {
		this.key = key;
		this.docnum = docnum;
	}

	public String getKey() {
		return key;
	}

	public int getDocnum() {
		return docnum;
	}

	public double getIdf() {
		return idf;
	}

	public void setIdf(double idf) {
		this.idf = idf;
	}

	public int getMark() {
		return mark;
	}

	public void setMark(int mark) {
		this.mark = mark;
	}

	@Override
	public String toString() {
		return key + " : " + docnum;
	}

}
